package mypackage;

import javax.servlet.*;
import java.io.*;

public class Hello extends GenericServlet {

  public void service(ServletRequest request, ServletResponse response) {
    try {
      PrintWriter out = response.getWriter();
      out.println("<html><body>");
      out.println("Hello Bouh ! This is a servlet !");
      out.println("</body></html>");
      out.close();
    } catch(IOException e) {
      e.printStackTrace();
    }
  }

}

